﻿@model Model.Article
@{
    ViewBag.Title = "Article";
}

<h2>Article</h2>

@using (Html.BeginForm())
{    
    @Html.ValidationSummary(true)

    <div class="">
        @Html.LabelFor(m => m.Title)
        @Html.EditorFor(m => m.Title)
        @Html.ValidationMessageFor(m => m.Title)
    </div> 
    <div class="">
        @Html.LabelFor(m => m.Content)
        @Html.TextAreaFor(m => m.Content)
    </div> 


    <input type="submit" value="Ajouter" class="submit" />
   
 }